#pragma once
#define CC_ENABLE_BOX2D_INTEGRATION 1
//#define __FISHJOY_DEBUG__ 1
#define BACKGROUND_MUISC_FILE "music_blue.wma"
#define COIN_SOUND "sound_coin.wma"
#define FIRE_SOUND "sound_fire04.wma"
#define SWITCH_WEAPON_SOUND "sound_weapon.wma"
#define PLAY_SOUND "sound_play.wma"

#include "cocos2d.h"
#include "cocos-ext.h"
#include "Box2d/Box2D.h"
USING_NS_CC;
USING_NS_CC_EXT;

enum {kTagBottom=100};
enum {kTagBottomWeapon=1001, kTagBottomChangeLeft=1002, kTagBottomChangeRight=1003,
	kTagBottomCoinBox=1004};
enum {kTypeFish,kTypeBullet};
#define PTM_RADIO 32

class CCSpriteBase : public CCPhysicsSprite
{
public:
	bool m_bIsLive;
	int m_type;
	CCPoint m_startPosition;
	CCPoint m_endPosition;
	float m_speed;
	virtual void showExpoloedEffect(CCNode* pNode)=0;
	void setPositions(CCPoint& startPosition, CCPoint& endPosition) 
	{
		m_startPosition = startPosition;
		m_endPosition = endPosition;
	}
	void setSpeed(float speed)
	{
		m_speed = speed;
	}
};





